from sqlalchemy.dialects.mysql import INTEGER, VARCHAR,JSON,DOUBLE
from sqlalchemy import Column
from sqlalchemy.ext.declarative import declarative_base


Base = declarative_base()


class EquipmentTypeTable(Base):
    __tablename__ = 'equipment_type'
    id = Column(INTEGER, primary_key=True)

    name = Column(VARCHAR(255), nullable=False)

    create_time = Column(INTEGER, default=0)
    update_time = Column(INTEGER, default=0)